<?php
namespace app\common\lib;

/**
 * Class User
 * 用户相关
 * @package app\common\lib
 */
class User{

    static public function getUserInfo($userId){
        $userInfo = db('users')->where('id', $userId)->find();
        if(!$userInfo) return false;
        return $userInfo;
    }

}
